package com.qzdsoft.erpcloud.service.proj;

import com.qzdsoft.erpcloud.domain.sys.LoginUser;
import com.qzdsoft.erpcloud.domain.sys.User;
import com.qzdsoft.erpcloud.vo.proj.MaterialAliasInfo;
import com.qzdsoft.erpcloud.vo.query.sys.SysMenubuttonQueryParam;
import com.qzdsoft.vo.Page;
import com.qzdsoft.vo.Response;

/**
 * Author:HuLeHui
 * 
 */
public interface MaterialAliasService {
	//页面初始化查询分页信息
	Page<MaterialAliasInfo> findPage(SysMenubuttonQueryParam params, LoginUser loginUser);
	//根据ID 获取一条记录
	MaterialAliasInfo getById(Integer id);
//***************************CRUD Author: HuLeHui**********************************//	
	//新增存货别名事件
	Response addMaterialAlias(MaterialAliasInfo tProjMaterialAliasVi, LoginUser loginUser) throws Exception;
	//编辑保存
	Response editMaterialAlias(MaterialAliasInfo tProjMaterialAliasVi, LoginUser loginUser);
	//删除存货存货别名
	Response delteMaterialAlias(Integer id, LoginUser loginUser);
	//获取网格数据(存货信息)
	String getJqGridJsonData(int rows, int page);
	//获取网格数据(往来单位信息)
	String getPartnerGridJsonData(int rows, int page);
}
